package Epick_Shit;

import java.awt.Graphics;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class Zeichnen extends JFrame {
		Label label;
		public Zeichnen(){
			super("Zeichnen");
			setLayout(null);
			label = new Label();
			label.setBounds(0, 0, 500, 300);
			add(label);
		}
		
		
		private class Label extends JLabel{
			@Override
			protected void paintComponent(Graphics g) {
				super.paintComponent(g);
				g.drawRect(10, 10, 100, 100);
			}
		}
}
